{* $Id: 20120508 *}
{if $pr eq "json"}
{$pv.data.json}
{/if}

{if $pr eq "html"}

{include file="_admin/header.tpl"}

<div id="wrapper" class="ui-helper-hidden-accessible">

    <header id="header">
        {include file="_admin/inc/inc_topmenu.tpl"}
    </header>
    <div id="emptyRow"></div>

    <section id="sidebar">
        {include file="_admin/inc/inc_leftmenu.tpl"}
    </section>

    <section id="content">
        <div id="contentHeader">
            <h1>Page Title</h1>
            <div id="contentHeaderBevel"></div>
        </div>
        <div class="container">
        	<div id="newdataform" class="grid-24">
        		<div class="grid-10">
        			<div class="wysiwyg"></div>
        		</div>
        		
        		<div class="grid-14">aaa</div>
        	</div>
            <div class="grid-10">aaa</div>
            <div class="grid-14">bbb</div>
        </div>

    </section>

    {include file="_admin/footer.tpl"}

</div>

<div id="modal_wait" class="ui-helper-hidden" title="{$lang.please_wait}">
    <div style="text-align:center">
        <img src="{$imagesDir}/spinner.gif"  alt="{$lang.please_wait}" />
    </div>
</div><!-- //modal_wait -->
<div id="modal_message" class="hide"></div><!-- //modal_message -->

<script language="javascript" src="{$config.docroot}adminjs/" type="text/javascript"></script>
<script language="javascript" src="{$config.docroot}adminjs_od/?ap={$pv.admin_page}" type="text/javascript"></script>
<script language="javascript" src="{$config.docroot}templates/_admin/jquery.elfinder.full.js"></script>
<script language="javascript" src="{$config.docroot}templates/_admin/startup.js?_={$smarty.now}" type="text/javascript"></script>

<script type="text/javascript">
    var _docroot = '{$config.docroot}';
    var _urlbegin = _docroot + 'admin/{$pv.admin_page}';
    var _request = '{$pv.base_request}';
    var _urlend = '{$req.default_index}';
    var _elfinderReplace = '{$config.docroot}upload/$1';
    var _templatePath = _docroot + 'templates/_admin/';
    var _dateFormat = 'mm/dd/yy';

</script>
<script language="javascript" type="text/javascript">
$(function()
{ldelim}
{foreach $smarty.capture as $cap}{$cap}{/foreach}
{rdelim});</script>
</body>
</html>

{/if}{* if $pr eq "html" *}

{if $pr eq "inner-html"}
{include file="_admin/pages/`$admin_page`.tpl"}
{/if}